package com.lovo.pis.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.pis.dto.BuyOrderBean;
import com.lovo.pis.dto.PageBean;
import com.lovo.pis.dto.StockGoodsBean;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface IStockGoodsService {

    IPage<StockGoodsBean> queryAllStockGoods(PageBean<StockGoodsBean> pageInfo);

    List<String> queryType();

    StockGoodsBean queryById(int id);

    void changeById(StockGoodsBean stockGoodsBean);

    void inStock(String supplierName,String buyer,int carId);

    void outStock(String customName,String seller,double price,String address,int carId);

}
